package com.edt.ichannel.api.service;

import com.edt.ichannel.api.entiy.local.AccountLog;

public interface AccountLogService {
    /**
     * 添加数据到账户流水
     *
     * @param accountLog 佣金流水
     * @author 孙梁
     * 2018/6/4 15:26
     */
    void insert(AccountLog accountLog);


    /**
     * 根据订单号查流水
     *
     * @param orderCode 订单号
     * @return com.edt.ichannel.api.entiy.local.AccountLog 流水
     * @author 孙梁
     * 2018/6/4 17:18
     */
    AccountLog selectByOrderCode(String orderCode);

    /**
     * 获取联通类账户金额
     *
     * @param expansionId expansionId
     * @return double
     * @author 李爽
     * @date 2018/11/2 16:37
     */
    double getUnicomAccountMoneyByExpansionId(String expansionId);
    /**
     * 获取联通类审核金额
     *
     * @param expansionId expansionId
     * @return double
     * @author 李爽
     * @date 2018/11/2 16:37
     */
    double getUnicomAuditAccountMoneyByExpansionId(String expansionId);
}
